package cn.px.sa.admin.netty;

public enum ServerPortEnum {
    PORT_SIRUIFU_v1(8810),
    PORT_SIRUIFU_v2(8811),
    PORT_OBCK(8812),
    PORT_CELIUCHE(8813),
    PORT_GPS(8814),
    PORT_ANFANG(8818);


    private int port;
    /**
     * 获取所有的ServerPort枚举值
     * @return 一个包含所有ServerPort枚举项的数组
     */
    public static ServerPortEnum[] getAllPorts() {
        return values();
    }

    ServerPortEnum(int port) {
        this.port = port;
    }

    public int getPort() {
        return port;
    }
}
